package com.mbc.rmt.dao;

import java.sql.ResultSet;
import java.sql.SQLException;
import com.mbc.rmt.data.OfficeCOADataList;
import com.mbc.rmt.entities.OfficeCOA;
import com.mbc.rmt.entities.OfficeCOARpt;

public interface OfficeCOADAO {

	public void create(OfficeCOA entity)throws SQLException;
	public void update(OfficeCOA entity)throws SQLException;
	public void delete(long key)throws SQLException;
	public OfficeCOA findByCode(String code,long branchId) throws SQLException;
	public OfficeCOA findByID (long officeID)throws SQLException;
	public OfficeCOADataList findOfficeCOA(OfficeCOA cri)throws SQLException;
	public OfficeCOADataList getOfficeCOAList(OfficeCOARpt office) throws SQLException;
	ResultSet prepareOfficeCOAReport(OfficeCOARpt office)throws SQLException;
}
